package day1204_1;

class LiBai  extends  Thread{
    public void run() {
        for(int  i=1;i<=2100000000;i++)
            System.out.println("吟诗");
    }
}

class  DuF  implements   Runnable{
    public void run() {
        for(int  i=1;i<=2100000000;i++)
            System.out.println("找李白");
    }
}



public class T3 {
    public static void main(String[] args) {
        LiBai  lb=new LiBai();//创建李白对象
        lb.start();//调用start();


        DuF  duFu=new DuF();//创建杜甫对象   duFu
        Thread df=new Thread(duFu);//创建Thread对象(duFu)
        df.start();//调用start();
    }
}







